package ru.study.thinkin.chapter13;

import java.util.ArrayList;

public class PetsFacade {
	public static final PetCreator creator = new LiteralPetCreator();
	
	public static Pet randomPet() {
		return creator.randomPet();
	}
	public static Pet[] createArray(int size) {
		return creator.createArray(size);
	}
	public static  ArrayList<Pet> arrayList(int size) {
		return creator.arrayList(size);
	}
	
	
	public static void main(String[] args) {
		PetCount.countPets(PetsFacade.creator);

	}

}
